package domain;



public class Customer implements Cloneable {
	
	private String id;
	private String name;
	private String age;
	private Address address;
	
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
	public Object clone() {
		Customer c = new Customer();
		Address a =null;
		if (null!=address) a = (Address)this.address.clone();
		c.setAddress(a);
		c.setAge(this.age);
		c.setId(id);
		c.setName(name);
		
		return c;
		
	}
	
	
	

}
